package com.health.db.dao.user.impl;

import java.util.List;

import com.health.db.dao.ServiceInterface;
import com.health.db.dao.user.IUserCardJournalDao;
import com.health.db.mapper.UserCardJournalMapper;
import com.health.db.model.UserCardJournal;


public class UserCardJournalDaoImpl  extends ServiceInterface implements IUserCardJournalDao{

	UserCardJournalMapper userCardJournalMapper;
	
	/**
	 * @return the userCardJournalMapper
	 */
	public UserCardJournalMapper getUserCardJournalMapper() {
		return userCardJournalMapper;
	}

	/**
	 * @param userCardJournalMapper the userCardJournalMapper to set
	 */
	public void setUserCardJournalMapper(UserCardJournalMapper userCardJournalMapper) {
		this.userCardJournalMapper = userCardJournalMapper;
	}


	@Override
	public int insert(UserCardJournal record) {
		// TODO Auto-generated method stub
		return userCardJournalMapper.insert(record);
	}


	@Override
	public void insertBatch(List<UserCardJournal> recordLists) {
		// TODO Auto-generated method stub
		userCardJournalMapper.insertBatch(recordLists);
	}

}
